import request from '@/utils/request';

/** 导出handbookMenuApprovalRel接口 
  

  import  { postHandbookMenuApprovalRelAdd,getGetList,postUpdate } from "@/api/handbookMenuApprovalRel/index"
  

  */
  

 
/**
菜单关联审批新增
* @param { string } classification - 分类 ( required: true )
* @param { string } processTemplateId - 流程模板编号 ( required: true )
* @param { integer } type - 类型 ( required: true )
*/
  export const postHandbookMenuApprovalRelAdd = (data) => {
      return request({
          url: '/handbookMenuApprovalRel/add',
          method: 'post',
          data: data,
      })
  }

  
/**
获取关联配置列表
*/
  export const getGetList = (params) => {
      return request({
          url: '/handbookMenuApprovalRel/getList',
          method: 'get',
          params: params,
      })
  }

  
/**
菜单关联审批修改
* @param { integer } id - 关联关系编号 ( required: true )
* @param { string } processTemplateId - 流程模板编号 ( required: true )
*/
  export const postUpdate = (data) => {
      return request({
          url: '/handbookMenuApprovalRel/update',
          method: 'post',
          data: data,
      })
  }

  